﻿@model TSharp.Core.Repository.IPagination<TSharp.Core.SystemOption.Store.Entities.Customer>
@using TSharp.Core.SystemOption.Controllers;
@using Microsoft.Web.Mvc;
@using MvcContrib.UI.Grid;
@using TSharp.Core.SystemOption.Store.Entities;
@{
    ViewBag.Title = "Index";
}
@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

@{
    Html.Grid(Model).Columns(c =>
                                 {
                                     c.For(m => m.CustomerID);
                                     c.For(m => m.ContactName);
                                     c.For(m => m.Fax);
                                     c.For(m => m.Address);
                                     c.For(m => m.Phone);
                                     c.For(m => m.Region);
                                     c.Custom(m => m.CustomerID);


                                 }).Render();
}
@using (Html.BeginForm<HomeController>(c => c.Index(1)))
{    
    <input type="submit" value="提交" />
}
